﻿namespace ODM.Common
{
    public class QualityControlLevel
    {
        /// <summary>
        /// Gets or sets the code.
        /// </summary>
        /// <value>The code.</value>
        public string Code { get; set; }

        /// <summary>
        /// Gets or sets the definition.
        /// </summary>
        /// <value>The definition.</value>
        public string Definition { get; set; }

        public string DisplayName
        {
            get
            {
                return string.Format("{0} - {1}", this.Code, this.Definition);
            }
        }
    }

}
